include_directories(${CMAKE_SOURCE_DIR}/include)
include_directories(${CMAKE_SOURCE_DIR}/include/watchdog)

# watchdog
set(WATCHDOG_SRC
    WatchdogClientAgent.cc
    WatchdogServerAgent.cc
    SyncStatusTask.cc
    LogWorkItem.cc
    TimerTestAgent.cc
    EtcdAgent.cc
)


add_library(watchdog ${WATCHDOG_SRC})
target_link_libraries(watchdog ndsl)